package org.ehe.erp.domain.product.vo;

import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.erp.domain.product.ErpProductArrival;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 到货管理vo
 * @author :zhangnn
 * @className :ErpProductArrivalVo
 * @description: TODO
 * @date 2025-08-19 09:14:35
 */
@Data
@AutoMapper(target = ErpProductArrival.class)
public class ErpProductArrivalVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 产品编号
     */
    @ExcelProperty(value = "产品编号")
    private Long id;

    /**
     * 付款单号
     */
    @ExcelProperty(value = "采购订单单号")
    private String no;

    /**
     * 采购订单名称
     */
    private String purchaseOrderName;

    /**
     * 批次ID，关联erp_batch_info表id
     */
    @ExcelProperty(value = "批次ID")
    private Long batchId;

    /**
     * 批次名称
     */
    @ExcelProperty(value = "批次名称")
    private String batchName;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 到货时间
     */
    @ExcelProperty(value = "到货时间")
    private LocalDateTime deliveryTime;

    @ExcelProperty(value = "实际到货时间")
    private LocalDateTime actualDeliveryTime;

    /**
     * 供应商编号
     */
    @ExcelProperty(value = "供应商编号")
    private Long supplierId;


    @ExcelProperty(value = "供应商名称")
    private String supplierName;
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建部门
     */
    @ExcelProperty(value = "创建部门")
    private Long createDept;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
